package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="tbOPPlanTaskDetail")
public class ExdeTbOPPlanTaskDetail {

	/**
	 * 创建人
	 */
	@ManyToOne
	@JoinColumn(unique = false)
	private User user;
	
	private String cCreateUser;
	/**
	 * 部门
	 */
	private String cCreateDept;
	
	@Id
	private String id;
	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;
	@Temporal(TemporalType.TIMESTAMP)
	private Date updateTime;
	
	/**
	 * 计划任务单主表Id
	 */
	private String opPlanTaskId;
	/**
	 * 产品型号
	 */
	private String cProductModel;
	/**
	 * 产品类型
	 */
	private String cProductType;
	/**
	 * 单价
	 */
	private Float nSinglePrice;
	/**
	 * 数量
	 */
	private Integer nCount;
	/**
	 * 总价
	 */
	private Double nTotalPrice;
	/**
	 * 附加要求
	 */
	private String cAdditionClaim;
	/**
	 * 销售合同细目ID
	 */
	private String nContractProductId;
	/**
	 * 电机型号
	 */
	private String cMotor;
	/**
	 * 电机功率
	 */
	private String cPower;
	/**
	 * 位号
	 */
	private String cBitNumber;
	public String getcCreateDept() {
		return cCreateDept;
	}
	public void setcCreateDept(String cCreateDept) {
		this.cCreateDept = cCreateDept;
	}
	public String getcCreateUser() {
		return cCreateUser;
	}
	public void setcCreateUser(String cCreateUser) {
		this.cCreateUser = cCreateUser;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 指定供货单位
	 */
	private String cUnit;
	/**
	 * 流量(m3/h)
	 */
	private String cFlow;
	/**
	 * 扬程(m)
	 */
	private String cHead;
	/**
	 * 温度(℃)
	 */
	private String cTemperature;
	/**
	 * 粘度(Cp)
	 */
	private String cViscosity;
	/**
	 * 比重(kg/m3)
	 */
	private String cProportion;
	/**
	 * 入口压力(MPa)
	 */
	private String cInletPressure;
	/**
	 * 出口压力(MPa)
	 */
	private String cOutletPressure;
	/**
	 * 过流材质
	 */
	private String cMaterialFlow;
	/**
	 * 有效气蚀余量(NPSHa)(m)
	 */
	private String cNPSHa;
	/**
	 * 必须气蚀余量(NPSHr)(m)
	 */
	private String cNPSHr;
	/**
	 * 产品名称
	 */
	private String cProductName;
	/**
	 * 交货日期
	 */
	private Date dGiveDate;
	/**
	 * 订货日期
	 */
	private Date dOrderDate;
	/**
	 * 传输介质
	 */
	private String cTransMedium;
	public Date getdOrderDate() {
		return dOrderDate;
	}
	public void setdOrderDate(Date dOrderDate) {
		this.dOrderDate = dOrderDate;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getOpPlanTaskId() {
		return opPlanTaskId;
	}
	public void setOpPlanTaskId(String opPlanTaskId) {
		this.opPlanTaskId = opPlanTaskId;
	}
	public String getcProductModel() {
		return cProductModel;
	}
	public void setcProductModel(String cProductModel) {
		this.cProductModel = cProductModel;
	}
	public String getcProductType() {
		return cProductType;
	}
	public void setcProductType(String cProductType) {
		this.cProductType = cProductType;
	}
	public Float getnSinglePrice() {
		return nSinglePrice;
	}
	public void setnSinglePrice(Float nSinglePrice) {
		this.nSinglePrice = nSinglePrice;
	}
	public Integer getnCount() {
		return nCount;
	}
	public void setnCount(Integer nCount) {
		this.nCount = nCount;
	}
	public Double getnTotalPrice() {
		return nTotalPrice;
	}
	public void setnTotalPrice(Double nTotalPrice) {
		this.nTotalPrice = nTotalPrice;
	}
	public String getcAdditionClaim() {
		return cAdditionClaim;
	}
	public void setcAdditionClaim(String cAdditionClaim) {
		this.cAdditionClaim = cAdditionClaim;
	}
	public String getnContractProductId() {
		return nContractProductId;
	}
	public void setnContractProductId(String nContractProductId) {
		this.nContractProductId = nContractProductId;
	}
	public String getcMotor() {
		return cMotor;
	}
	public void setcMotor(String cMotor) {
		this.cMotor = cMotor;
	}
	public String getcPower() {
		return cPower;
	}
	public void setcPower(String cPower) {
		this.cPower = cPower;
	}
	public String getcBitNumber() {
		return cBitNumber;
	}
	public void setcBitNumber(String cBitNumber) {
		this.cBitNumber = cBitNumber;
	}
	public String getcUnit() {
		return cUnit;
	}
	public void setcUnit(String cUnit) {
		this.cUnit = cUnit;
	}
	public String getcFlow() {
		return cFlow;
	}
	public void setcFlow(String cFlow) {
		this.cFlow = cFlow;
	}
	public String getcHead() {
		return cHead;
	}
	public void setcHead(String cHead) {
		this.cHead = cHead;
	}
	public String getcTemperature() {
		return cTemperature;
	}
	public void setcTemperature(String cTemperature) {
		this.cTemperature = cTemperature;
	}
	public String getcViscosity() {
		return cViscosity;
	}
	public void setcViscosity(String cViscosity) {
		this.cViscosity = cViscosity;
	}
	public String getcProportion() {
		return cProportion;
	}
	public void setcProportion(String cProportion) {
		this.cProportion = cProportion;
	}
	public String getcInletPressure() {
		return cInletPressure;
	}
	public void setcInletPressure(String cInletPressure) {
		this.cInletPressure = cInletPressure;
	}
	public String getcOutletPressure() {
		return cOutletPressure;
	}
	public void setcOutletPressure(String cOutletPressure) {
		this.cOutletPressure = cOutletPressure;
	}
	public String getcMaterialFlow() {
		return cMaterialFlow;
	}
	public void setcMaterialFlow(String cMaterialFlow) {
		this.cMaterialFlow = cMaterialFlow;
	}
	public String getcNPSHa() {
		return cNPSHa;
	}
	public void setcNPSHa(String cNPSHa) {
		this.cNPSHa = cNPSHa;
	}
	public String getcNPSHr() {
		return cNPSHr;
	}
	public void setcNPSHr(String cNPSHr) {
		this.cNPSHr = cNPSHr;
	}
	public String getcProductName() {
		return cProductName;
	}
	public void setcProductName(String cProductName) {
		this.cProductName = cProductName;
	}
	public Date getdGiveDate() {
		return dGiveDate;
	}
	public void setdGiveDate(Date dGiveDate) {
		this.dGiveDate = dGiveDate;
	}
	public String getcTransMedium() {
		return cTransMedium;
	}
	public void setcTransMedium(String cTransMedium) {
		this.cTransMedium = cTransMedium;
	}
	
	public ExdeTbOPPlanTaskDetail(){
		Date now = new Date();
		this.createTime = now;
		this.updateTime = now;
	}
	
}
